package com.hoshiicloud.goods.param.sku;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;

import java.math.BigDecimal;

/**
* <p>
* 新增商品sku分配参数
* </p>
*
* @author zhangshuhu
* @since 2019-06-04
*/

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@ApiModel(value="新增商品sku分配", description="新增商品sku分配")
public class ProductManageAddParam implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "租户ID")
    private Long companyId;
    
    @ApiModelProperty(value = "平台ID")
    private Long platformId;
    
    @ApiModelProperty(value = "店铺ID")
    private Long storeId;
    
    @ApiModelProperty(value = "来源 1-租户  2-平台 3-店铺")
    private Integer source;
    
    @ApiModelProperty(value = "SKUID")
    private Long skuId;
    
    @ApiModelProperty(value = "SKUNO")
    private String skuNo;
    
    @ApiModelProperty(value = "商品名称")
    private String skuName;
    
    @ApiModelProperty(value = "规格")
    private String spec;
    
    @ApiModelProperty(value = "单位")
    private String unit;
    
    @ApiModelProperty(value = "分配数量")
    private BigDecimal quantity;

    @ApiModelProperty(value = "销售数量")
    private BigDecimal salesQuantity;


    @ApiModelProperty(value = "冻结数量")
    private BigDecimal freezes;
    
    @ApiModelProperty(value = "备注")
    private String remark;


    @ApiModelProperty(value = "创建人")
    private String createdBy;
    
    
    @ApiModelProperty(value = "是否删除")
    private Integer deleted;

    @ApiModelProperty(value = "BaseSku 的ID")
    private Long baseSkuId;

}
